package com.cn.serverline.lineicp.productionLine.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Data;
import java.sql.Timestamp;

/**
 * 工序工步表
 *
 * @author Gmr
 * @since 2024-07-30
 */
@TableName("CT_PROCESS_STEPS")
@Data
@EqualsAndHashCode(callSuper = false)
public class ProcessSteps extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @ChineseDescription("主键")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**
     * 工序ID
     */
    @ApiModelProperty(value = "工序ID")
    @ChineseDescription("工序ID")
    @TableField("PRODUCTION_PROCESSES_ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long productionProcessesId;

    /**
     * 工步序号
     */
    @ApiModelProperty(value = "工步序号")
    @ChineseDescription("工步序号")
    @TableField("STEP_NUMBER")
    private String stepNumber;

    /**
     * 工步名称
     */
    @ApiModelProperty(value = "工步名称")
    @ChineseDescription("工步名称")
    @TableField("STEP_NAME")
    private String stepName;

    /**
     * 工步内容
     */
    @ApiModelProperty(value = "工步内容")
    @ChineseDescription("工步内容")
    @TableField("STEP_CONTENT")
    private String stepContent;

    /**
     * 排序码
     */
    @ApiModelProperty(value = "排序码")
    @ChineseDescription("排序码")
    @TableField("SORT")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long sort;

}
